package data;

public class subFrame{
	private String courseName;
	private String serialNumber;
	private String advicecredit;
	
	public subFrame(String courseName,String serialNumber,String advicecredit){
		this.courseName = courseName;
		this.serialNumber = serialNumber;
		this.advicecredit = advicecredit;
	}
	
	public String[] getInfo(){
		String[] info = new String[3];
		info[0] = courseName;
		info[1] = serialNumber;
		info[2] = advicecredit;
		return info;
	}
	
	public String getCoursename(){
		return courseName;
	}
	public String getSerialNumber(){
		return serialNumber;
	}
	public String getCredit(){
		return advicecredit;
	}
}